package cn.corgy.Observer;

public class MainTest {
    public static void main(String[] args) {
        Person person = new Person();
        LaoObserver laoObserver = new LaoObserver(person);
        YObserver yObserver = new YObserver(person);

        person.setAge(60);
        person.setAge(10);

    }
}
